from student.models import Student
students={('95001', '王小进', '男', '1989-05-20', '13908764888', 'wangxiaoming@abc.com', '南京市鼓楼区元南北路88号'),
('95002', '张小娟', '男', '1989-09-09', '13908769999', '1114786830@163.com', '江苏省常州市山炮路99号'),
('95003', '王小明', '男', '1989-09-08', '13409908756', 'wangxiaoming@qq88.com', '江苏省苏州市山炮路88号'),
('95004', '张丽', '男', '1995-03-05', '13482034096', 'zhangli@iLync.cn', '上海市徐汇区习勤路100弄'),
('95005', '刘向东', '女', '1995-03-06', '13787123123', 'liuxiangdong@iLync.cn', '上海市闵行区春申路295号'),
('95006', '李明博', '男', '1995-03-07', '18932178905', 'zhangzhiqiang@sina.com', '上海市徐汇区柳州路101弄'),
('95007', '张子强', '男', '1995-03-08', '17600715247', 'wwh@live.cn', '上海市闵行区虹梅南路296号'),
('95008', '王文海', '女', '1995-03-09', '18238391838', '65212321@qq.com', '上海市徐汇区龙漕路102弄'),
('95009', '刘慧娟', '男', '1995-03-10', '18876068428', 'liuhuijuan@iLync.cn', '上海市闵行区颛兴东路297号'),
('95010', '陈敏', '男', '1995-03-11', '13513745019', 'chenming@sohu.com', '上海市徐汇区桂林路103弄'),
('95011', '王云', '女', '1995-03-12', '13051421609', 'wangyun@gmail.com', '上海市闵行区开发区大道298号'),
('95012', '沈璐', '男', '1995-03-13', '13889098199', 'shenlu@iLync.cn', '上海市徐汇区田东路104弄'),
('95013', '赵鹏飞', '男', '1995-03-14', '15026774790', 'chenpengfei@iLync.cn', '上海市闵行区都市路99号'),
('95014', '谢朝阳', '女', '1995-03-15', '18064451380', 'xiechaoyang@sohu.com', '上海市徐汇区钦州北路105弄'),
('95015', '刘子歌', '男', '1995-03-16', '13902127970', '6533422@qq.com', '上海市闵行区都会路300号'),
('95016', '陈照升', '男', '1995-03-17', '13339804561', 'chenzs@iLync.cn', '上海市徐汇区中山北路106弄'),
('95017', '秦小路', '女', '1995-03-18', '13477481151', 'qinxl@sina.com', '上海市闵行区都庄路301号'),
('95018', '张大宝', '男', '1995-03-19', '13915157742', 'zhangdb@sohu.com', '上海市徐汇区桂林东街107弄'),
('95019', '刘佳', '男', '1995-03-20', '13352834332', 'liujia@sohu.com', '上海市闵行区剑川路302号'),
('95020', '李伟', '女', '1995-03-21', '15990510922', 'lw@263.com', '上海市徐汇区桂林西街108弄'),
('95021', '杨荣', '男', '1995-05-31', '13522341234', 'yangrong@iLync.cn', '江苏省泰州市姜堰区华港镇254号'),
('95033', '程晓宁', '男', '1989-05-06', '13908768888', 'lishanshan@cba.com', '江苏省苏州市山炮路818号'),
('95043', '陈鑫', '男', '1989-05-06', '13908764567', 'wangxiaoming@qq.com', '南京市鼓楼区元南北路112号'),
('95088', '李大双', '男', '1989-04-03', '15609123456', 'lidashuang@163.com', '江苏省苏州市中山路1188号'),}

for i in students:
    s=Student()
    s.sno=i[0]
    s.sname=i[1]
    s.gender=i[2]
    s.birthday=i[3]
    s.mobile=i[4]
    s.email=i
    s.address=i[6]
    s.save()

# Student.sno='test01'
# Student.sname='郭帅'
# Student.gender='男'
# Student.birthday='1988-09-28'
# Student.mobile='13391170023'
# Student.email='gll@123.com'
# Student.address='安徽省宿州市砀山县'
# Student.save()

s=Student(sno='95891', sname='特务1', gender= '女', birthday= '2020-08-24', mobile= '13376668888',
email= '234@126.com', address= '儿童哥哥', image= '', imageUrl= '')
s1=Student(sno=95899, sname='特务4', gender= '女', birthday= '1888-07-28', mobile= 13376668888,
email= '234@126.com', address= '色发文发问')
s1.save()